package 二分快速幂.pow;

/**
 * TODO
 *
 * @className: pow
 * @description: TODO
 * @author: 等什么柠檬君
 * @date: 2022-05-09 15:53
 **/
public class pow {

    public static void main(String[] args) {
        double x = 2.00000;
        int n = 10;
        System.out.println(myPow(x,n));
    }
    public static double myPow(double x, int n) {

        return Math.pow(x,n);
    }
}
